#ifndef WIDGET_H
#define WIDGET_H

#include <QDialog>
#include "sterilization_config_data.h"

namespace Ui {
class sterilization_setting;
}

class sterilization_setting : public QDialog
{
    Q_OBJECT
    
public:
    explicit sterilization_setting(QWidget *parent = 0);
    ~sterilization_setting();
    void entrance();

private slots:
   void display();
   void getvalue();

   void on_buttonBox_accepted();
   void on_buttonBox_rejected();

private:
    Ui::sterilization_setting *ui;
    sterilization_config_data* data;
    QString pathname;

    bool verify(int value, int low, int high,  const char* tips);

};

#endif // WIDGET_H
